import Index from './components/index.vue'
import Welcome from './components/welcome.vue'
import Mlapp from './components/mlapp.vue'
import Detail from './components/detail.vue'
import Cart from './components/cart.vue'
import Order from './components/order.vue'
import My from './components/my.vue'

export default [
    {path:'/',component:Welcome},
    {path:'/welcome',component:Welcome},
    {
        path:'/mlapp',
        component:Mlapp,
        children:[
            {
                path:"",
                component:Index  
            },
            {
                path:"index",
                component:Index  
            },
            {
                path:"detail/:id",
                component:Detail
            },
            {
                path:"cart",
                component:Cart
            },
            {
                path:'order',
                component:Order
            },
            {
                path:'my',
                component:My
            }
        ]
    }
]